<?php     

echo form_open(current_url()); ?>
<?php echo $custom_error; ?>
<?php echo form_hidden('iddh',$result->iddh) ?>

                                    <p><label for="idUser">IdUser<span class="required">*</span></label>                                
                                    <input id="idUser" type="text" name="idUser" value="<?php echo $result->idUser ?>"  />
                                    <?php echo form_error('idUser','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="thoidiemdathang">Thoidiemdathang<span class="required">*</span></label>                                
                                    <input id="thoidiemdathang" type="text" name="thoidiemdathang" value="<?php echo $result->thoidiemdathang ?>"  />
                                    <?php echo form_error('thoidiemdathang','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="thoidiemgiaohang">Thoidiemgiaohang<span class="required">*</span></label>                                
                                    <input id="thoidiemgiaohang" type="text" name="thoidiemgiaohang" value="<?php echo $result->thoidiemgiaohang ?>"  />
                                    <?php echo form_error('thoidiemgiaohang','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="tennguoinhan">Tennguoinhan<span class="required">*</span></label>                                
                                    <input id="tennguoinhan" type="text" name="tennguoinhan" value="<?php echo $result->tennguoinhan ?>"  />
                                    <?php echo form_error('tennguoinhan','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="tinhtrang">Tinhtrang<span class="required">*</span></label>                                
                                    <input id="tinhtrang" type="text" name="tinhtrang" value="<?php echo $result->tinhtrang ?>"  />
                                    <?php echo form_error('tinhtrang','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="ghichu">Ghichu<span class="required">*</span></label>                                
                                    <input id="ghichu" type="text" name="ghichu" value="<?php echo $result->ghichu ?>"  />
                                    <?php echo form_error('ghichu','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="diachi_giaohang">Diachi_giaohang<span class="required">*</span></label>                                
                                    <input id="diachi_giaohang" type="text" name="diachi_giaohang" value="<?php echo $result->diachi_giaohang ?>"  />
                                    <?php echo form_error('diachi_giaohang','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="sdt_nguoinhan">Sdt_nguoinhan<span class="required">*</span></label>                                
                                    <input id="sdt_nguoinhan" type="text" name="sdt_nguoinhan" value="<?php echo $result->sdt_nguoinhan ?>"  />
                                    <?php echo form_error('sdt_nguoinhan','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="email_nguoinhan">Email_nguoinhan<span class="required">*</span></label>                                
                                    <input id="email_nguoinhan" type="text" name="email_nguoinhan" value="<?php echo $result->email_nguoinhan ?>"  />
                                    <?php echo form_error('email_nguoinhan','<div>','</div>'); ?>
                                    </p>
                                    
<p>
        <?php echo form_submit( 'submit', 'Submit'); ?>
</p>

<?php echo form_close(); ?>
